package com.qutan.app.core.domain.enumclass;

/**
 * Created by oyhk on 15-4-17.
 * 是否的枚举
 */
public enum OrderStatus {
    WAIT_PAYING("待支付",0), PAYED("已支付",1),
    WAIT_SHIPPED("等待发货",2), SHIPPED("已发货",3),
    CONFIRM("已确认",4), FINISHED("已完成",5);

    OrderStatus(String text,int flag) {
        this.text = text;
        this.flag=flag;
    }

    private String text;
    private int flag;

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }
}
